package com.halcyon;

import android.app.Application;

import com.halcyon.di.ContextManager;


/**
 * ©2015-2016 kcoin.inc.All Rights Reserved
 *
 * @author: L
 * Description:
 */
public class App extends Application {
    private static App mApp;

    @Override
    public void onCreate() {
        super.onCreate();
        mApp = this;
        ContextManager.init(this);

        //Thread.currentThread().setUncaughtExceptionHandler(new CustomException());
    }

    public static App getInstance() {
        return mApp;
    }

    private class CustomException implements Thread.UncaughtExceptionHandler {
        @Override
        public void uncaughtException(Thread thread, Throwable ex) {

        }
    }
}
